[INFO] cloning repository https://github.com/davidabernado/based-minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidabernado/based-minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7b4e7c0b5be8afcb5c8e03b85bf48dec27bc2411
[INFO] building davidabernado/based-minigrep against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavidabernado%2Fbased-minigrep" "/workspace/builds/worker-12/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/davidabernado/based-minigrep on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] finished tweaking git repo https://github.com/davidabernado/based-minigrep
[INFO] tweaked toml for git repo https://github.com/davidabernado/based-minigrep written to /workspace/builds/worker-12/source/Cargo.toml
[INFO] crate git repo https://github.com/davidabernado/based-minigrep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 227d8125e4e83811c53f1ce64fc64c9a24b5e136b35db656a90964ede13da920
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "227d8125e4e83811c53f1ce64fc64c9a24b5e136b35db656a90964ede13da920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "227d8125e4e83811c53f1ce64fc64c9a24b5e136b35db656a90964ede13da920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "227d8125e4e83811c53f1ce64fc64c9a24b5e136b35db656a90964ede13da920", kill_on_drop: false }`
[INFO] [stdout] 227d8125e4e83811c53f1ce64fc64c9a24b5e136b35db656a90964ede13da920
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 804be6e20903633b3bd5bdd52a066ca8e4bf57fcb0ac61bc4ac50c70fbd42d37
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "804be6e20903633b3bd5bdd52a066ca8e4bf57fcb0ac61bc4ac50c70fbd42d37", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.3
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling regex v1.0.0
[INFO] [stderr]    Compiling memchr v2.0.1
[INFO] [stderr]    Compiling regex-syntax v0.6.0
[INFO] [stderr]    Compiling thread_local v0.3.5
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling aho-corasick v0.6.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling rayon v1.0.1
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.41s
[INFO] running `Command { std: "docker" "inspect" "804be6e20903633b3bd5bdd52a066ca8e4bf57fcb0ac61bc4ac50c70fbd42d37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "804be6e20903633b3bd5bdd52a066ca8e4bf57fcb0ac61bc4ac50c70fbd42d37", kill_on_drop: false }`
[INFO] [stdout] 804be6e20903633b3bd5bdd52a066ca8e4bf57fcb0ac61bc4ac50c70fbd42d37
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88748ab3d4affef5888f1e167bc926fbf3b4d8784cd8d6ba30fd485ba24af298
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "88748ab3d4affef5888f1e167bc926fbf3b4d8784cd8d6ba30fd485ba24af298", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling based_minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/lib.rs:26:60
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn read_file(filename: &str) -> Result<String, Box<Error>> {
[INFO] [stdout]    |                                                            ^^^^^ help: use `dyn`: `dyn Error`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 |             search(&query, &contents, &flag)
[INFO] [stdout]    |                                       ^^^^^ expected enum `Flag`, found struct `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/test_grep.rs:26:39
[INFO] [stdout]    |
[INFO] [stdout] 26 |             search(&query, &contents, &flag),
[INFO] [stdout]    |                                       ^^^^^ expected enum `Flag`, found struct `String`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&Flag`
[INFO] [stdout]               found reference `&String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `based_minigrep`
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "88748ab3d4affef5888f1e167bc926fbf3b4d8784cd8d6ba30fd485ba24af298", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88748ab3d4affef5888f1e167bc926fbf3b4d8784cd8d6ba30fd485ba24af298", kill_on_drop: false }`
[INFO] [stdout] 88748ab3d4affef5888f1e167bc926fbf3b4d8784cd8d6ba30fd485ba24af298
